package com.masterclient.app.businessmodule.minemodule.cash.contract;

import com.eoner.baselib.presenter.FCBasePresenter;
import com.eoner.baselib.presenter.IFCBaseView;
import com.masterclient.app.businessmodule.minemodule.cash.bean.BalanceCashBean;
import com.masterclient.app.businessmodule.minemodule.cash.bean.BalanceGainBean;
import com.masterclient.app.businessmodule.minemodule.cash.bean.BalanceOrderBean;

/**
 * 作者：sean
 * 创建时间：2017/10/13 15:10
 * 功能说明：
 */

public interface CashContract {

    interface View extends IFCBaseView {
        void showBalanceGain(BalanceGainBean.DataBean bean);
        void showBalanceOrder(BalanceOrderBean.DataBean bean);
        void showBalanceCash(BalanceCashBean.DataBean bean);
        void loadFailed();

    }

    abstract static class Presenter extends FCBasePresenter<View> {
        public abstract void getBalanceGain(String page,String page_size,boolean isRefresh);
        public abstract void getBalanceOrder(String page,String page_size,boolean isRefresh);
        public abstract void getBalanceCash(String page,String page_size,boolean isRefresh);
    }
}